package com.yilin.tms.capital.commons.strategy.operation;

import com.yilin.tms.core.entity.capital.TradeRecord;
import com.yilin.tms.core.entity.user.account.Account;

import java.util.List;

// 银行操作接口
public interface BankOperation {

    void execute(List<TradeRecord> tradeRecordList, Account account);//支付
    TradeRecord executeRefund(TradeRecord tradeRecordList, Account account);//退款
    TradeRecord executeQuery(TradeRecord tradeRecord, Account account);//查询

}
